import request from '@/utils/request'

// 查询VIP配置表列表
export function listFhRechargeData(query, pageReq) {
  return request({
    url: '/act/fhRechargeData/list',
    method: 'post',
    data: query,
    params: pageReq
  })
}

// 查询VIP配置表详细
export function getFhRechargeData(id) {
  return request({
    url: '/act/fhRechargeData/' + id,
    method: 'get'
  })
}

// 新增VIP配置表
export function addFhRechargeData(data) {
  return request({
    url: '/act/fhRechargeData',
    method: 'post',
    data: data
  })
}

// 修改VIP配置表
export function updateFhRechargeData(data) {
  return request({
    url: '/act/fhRechargeData',
    method: 'put',
    data: data
  })
}

// 删除VIP配置表
export function delFhRechargeData(id) {
  return request({
    url: '/act/fhRechargeData/' + id,
    method: 'delete'
  })
}

// 导出VIP配置表
export function exportFhRechargeData(query) {
  return request({
    url: '/act/fhRechargeData/export',
    method: 'get',
    params: query
  })
}
